package com.bookshop.vo;

public class CartVo {
    private int userId;
    private String userName;
    private String bookName;
    private String picture;
    private int orderId;
    private int price;
    private int quantity;

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public int getQuantity() {
        return quantity;
    }

    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }

    public int getOrderId() {
        return orderId;
    }

    public void setOrderId(int orderId) {
        this.orderId = orderId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    @Override
    public String toString() {
        return "CartVo{" +
                "userId=" + userId +
                ", userName='" + userName + '\'' +
                ", bookName='" + bookName + '\'' +
                ", picture='" + picture + '\'' +
                ", orderId=" + orderId +
                ", price=" + price +
                ", quantity=" + quantity +
                '}';
    }
}
